
import request from '@/utils/request'

// 查询副本记录列表
export function listCopyRecord(query) {
    return request({
        url: '/jx3/copyRecord/list',
        method: 'get',
        params: query
    })
}

// 查询副本记录列表
export function listCountWeek(query) {
    return request({
        url: '/jx3/copyRecord/countWeek',
        method: 'get',
        params: query
    })
}

// 查询副本记录详细
export function getCopyRecord(id) {
    return request({
        url: '/jx3/copyRecord/' + id,
        method: 'get'
    })
}

// 新增副本记录配置
export function addCopyRecord(data) {
    return request({
        url: '/jx3/copyRecord/add',
        method: 'post',
        data: data
    })
}

// 修改副本记录配置
export function updateCopyRecord(data) {
    return request({
        url: '/jx3/copyRecord/update',
        method: 'post',
        data: data
    })
}

// 删除副本记录配置
export function delCopyRecord(id) {
    return request({
        url: '/jx3/copyRecord/' + id,
        method: 'delete'
    })
}
